package Track;
import java.util.HashMap;
import java.util.List;

import org.apache.ibatis.annotations.Param;


public interface TrackMapper {
	TrackItem selectById(@Param("track_id") int track_id);
	
	List<HashMap<String,Object>> selectByCon(@Param("contest_reg_id") int contest_reg_id);
	TrackItem selectByTeam(@Param("team_id") int team_id);
	List<TrackItem> selectAll();
	
	void insert(HashMap<String,Object> item);
	void updateById(TrackItem item);
	
	void deleteByCon(@Param("contest_reg_id") int contest_reg_id);
	void deleteById(@Param("track_id") int track_id);
}
